package com.zgkxzx.mvpbase;

import android.app.Application;

/**
 * 创建者 zgkxzx
 * 日期   4/1/17
 * 描述
 */

public class BaseApplication extends Application {


    private static BaseApplication mApplication;

    @Override
    public void onCreate() {
        super.onCreate();
        mApplication = this;
    }

    /**
     * 获取全局的上下文
     * @return
     */
    public static BaseApplication getContext() {
        return mApplication;
    }
}
